package com.appology.oauth2;

/**
 * OAuth 2 credentials found in the <a
 * href="https://code.google.com/apis/console">Google apis console</a>.
 * 
 * <p>
 * Once at the Google apis console, click on "Add project...", or if you've
 * already set up a project, click the arrow next to the project name and click
 * on "Create..." under "Other projects". For "Buzz
 * API", click on the status switch to flip it to "ON", and agree to the terms
 * of service. Next, click on "API Access". Click on
 * "Create an OAuth 2.0 Client ID...". Select a product name and click "Next".
 * Make sure you select "Installed application" and click "Create client ID".
 * </p>
 * 
 * @author Yaniv Inbar
 */
public class OAuth2ClientCredentials {

	/**
	 * Value of the "Client ID" shown under
	 * "Client ID for installed applications".
	 */
	public static final String CLIENT_ID = "1049706189302.apps.googleusercontent.com";

	/**
	 * Value of the "Client secret" shown under
	 * "Client ID for installed applications".
	 */
	public static final String CLIENT_SECRET = "gBwbAcI2RKIpo26bg-erbrjq";

	/**
	 * OAuth 2 scope to use (may also append {@code ".readonly"} for the
	 * read-only scope).
	 */
	public static final String SCOPE = "https://www.googleapis.com/auth/buzz";

	/**
	 * The URL that is registered for your app, which Google should redirect
	 * back to after an OAuth attempt
	 */
	public static final String CALLBACK_URL = "http://appology-chuck-norris.appspot.com/oauth2callback";
}
